package com.akkainaction.tool.logger.actor;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import com.typesafe.config.ConfigFactory;

public class TestLoggerActor {

    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("sys", ConfigFactory.load("log"));
        ActorRef loggerActor = system.actorOf(Props.create(LoggerActor.class), "loggerActor");
        loggerActor.tell("hello log", ActorRef.noSender());
    }
}
